<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	     <script>
	     	var rightPwd = "666666"
	     	var inputPwd = prompt("请您输入密码：");
	     	if(rightPwd==inputPwd){
	     		alert("登陆成功！");
	     	}else{
	     		alert("密码错误！")
	     	}
	     </script>
	</body>
</html>
